import nme.Lib;
import nme.display.MovieClip;

class Main extends MovieClip {

    public var canvas:MovieClip;
    public var home:Home;

    public static function main() {
        Lib.current.stage.addChild(new Main());
    } // public static function main()

    public function new() {
        super();

        // Prepare the console
        Console.create();
        
        // Declare the canvas
        canvas = nme.Lib.current;

        // Create the home
        home = new Home(canvas);
    } // public function new()
    
} // class Main extends MovieClip
